package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 情景模式管理对象 line_custom_function
 * 
 * @author ruoyi
 * @date 2024-06-12
 */
public class LineCustomFunction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 情景模式的名称 */
    @Excel(name = "情景模式的名称")
    private String name;

    /** 对情景模式的简短描述 */
    @Excel(name = "对情景模式的简短描述")
    private String description;

    /** 触发条件ID数组的字符串表示，与触发条件表关联，以逗号分隔 */
    @Excel(name = "触发条件ID数组的字符串表示，与触发条件表关联，以逗号分隔")
    private String conditionId;

    /** 执行动作ID数组的字符串表示，当触发条件满足时，要执行的动作。与执行动作表关联，以逗号分隔 */
    @Excel(name = "执行动作ID数组的字符串表示，当触发条件满足时，要执行的动作。与执行动作表关联，以逗号分隔")
    private String actionId;

    /** 触发的设备ID数组的字符串表示，与该情景模式相关的设备。与触发设备表关联，以逗号分隔 */
    @Excel(name = "触发的设备ID数组的字符串表示，与该情景模式相关的设备。与触发设备表关联，以逗号分隔")
    private String triggerDeviceId;

    /** 执行的设备ID数组的字符串表示，执行情景模式的设备ID列表，与执行设备表关联，以逗号分隔 */
    @Excel(name = "执行的设备ID数组的字符串表示，执行情景模式的设备ID列表，与执行设备表关联，以逗号分隔")
    private String executionDeviceId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setConditionId(String conditionId) 
    {
        this.conditionId = conditionId;
    }

    public String getConditionId() 
    {
        return conditionId;
    }
    public void setActionId(String actionId) 
    {
        this.actionId = actionId;
    }

    public String getActionId() 
    {
        return actionId;
    }
    public void setTriggerDeviceId(String triggerDeviceId) 
    {
        this.triggerDeviceId = triggerDeviceId;
    }

    public String getTriggerDeviceId() 
    {
        return triggerDeviceId;
    }
    public void setExecutionDeviceId(String executionDeviceId) 
    {
        this.executionDeviceId = executionDeviceId;
    }

    public String getExecutionDeviceId() 
    {
        return executionDeviceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("conditionId", getConditionId())
            .append("actionId", getActionId())
            .append("triggerDeviceId", getTriggerDeviceId())
            .append("executionDeviceId", getExecutionDeviceId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
